package com.xhwl.centiotdata.constant;

/**
 * Falcon.cao @Copyright (C), 2022, 兴海物联
 * Date: 2022/6/12 10:25
 * Description: 包信息
 */
public class BosinyConstant {
    private BosinyConstant() {}

    public static final String REDIS_KEY_TOKEN = "access_token:bosiny.%s-%s";
    public static final String REDIS_KEY_JWT = "access_jwt:bosiny.%s-%s";

    public static final String NAME_LOGIN = "login";
    public static final String NAME_LOCK_STATE_SET = "lock.state.set";
    public static final String NAME_LOCK_CARD_ADD = "lock.card.add";
    public static final String NAME_LOCK_CARD_DEL = "lock.card.delete";
    public static final String NAME_LOCK_OPEN_RECORD = "lock.opened.record";
    public static final String NAME_LOCK_GET_SN = "lock.sn.get.by.user";
    public static final String NAME_LOCK_GET = "lock.get";

    public static final String PARAM_NAME = "name";
    public static final String PARAM_TOKEN = "access_token";
    public static final String PARAM_JWT = "jwt";
    public static final String PARAM_AK = "app_key";
    public static final String PARAM_DATA = "data";
    public static final String PARAM_TIMESTAMP = "timestamp";
    public static final String PARAM_SIGN = "sign";
    public static final String PARAM_FORMAT = "format";

    public static final String PARAM_LOGIN_NAME = "mobile";
    public static final String PARAM_PASSWORD = "password";
    public static final String PARAM_VERSIONS = "version";

    public static final String PARAM_CARD_NUMBER = "cardNo";
    public static final String PARAM_ASSIGNEE_NAME = "assigneeName";
    public static final String PARAM_ASSIGNEE_MOBILE = "assigneeMobile";
    public static final String PARAM_CODE = "code";
    public static final String PARAM_END_TIME = "endTime";
    public static final String PARAM_START_TIME = "startTime";
    public static final String PARAM_STATE = "state";
    public static final String PARAM_STYLE = "style";
    public static final String PARAM_TIME_TYPE = "timeType";
    public static final String PARAM_TYPE = "type";

    public static final String FORMAT_DATETIME = "yyyy-MM-dd HH:mm:ss";
}
